/*
 * ApplicationSettings.java
 *
 * Copyright 2007, 2008 Tiberiumlabs
 *
 * This file is part of Tiberiumlabs Lailaps.
 *
 * Tiberiumlabs Lailaps is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * Tiberiumlabs Lailaps is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.tiberiumlabs.lailaps.settings;

/**
 * @author <a href="mailto:paranoid.tiberiumlabs@gmail.com">Paranoid</a>
 */
public interface ApplicationSettings {
    
    String FILESEPARATOR = System.getProperty("file.separator");
    
    String USERHOME = System.getProperty("user.home")  + FILESEPARATOR;
    
    String TIBERIUMLABS_HOME = USERHOME + ".tiberiumlabs";
    
    String LAILAPS_HOME = TIBERIUMLABS_HOME + FILESEPARATOR + (Settings.isDebugMode() ? "dev" + FILESEPARATOR : "") + "lailaps";
    
    String SETTINGS_FOLDER = LAILAPS_HOME + FILESEPARATOR + "settings" + FILESEPARATOR;
    
    String HISTORY_FOLDER = LAILAPS_HOME + FILESEPARATOR + "history" + FILESEPARATOR;
    
    String LOG_FILE = LAILAPS_HOME + FILESEPARATOR + "messages.log";
    
    String getVersion();
    
    // <editor-fold defaultstate="collapsed" desc=" Enviroment settings ">
    
    public String getOutputFolder();
    
    public String getListFile();
    
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Behaviour settings ">
    
    public int getPort();
    
    public boolean isRemoveFinished();
    
    public boolean isKeepServerTime();
    
    public boolean isAskBeforeExit();
    
    public boolean isAskBeforeRemove();
    
    boolean isSilentDrop();
    
    public boolean isAutostartDownloads();
    
    public boolean isAddToFront();
    
    public boolean isNeedListBackuping();
    
    public boolean isAlowDuplicates();
            
    //</editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Language settings ">
    
    public boolean isUseSystemLocale();
    
    public String getCustomLocale();
    
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" Integration settings ">
    
    public boolean isKonquerorIntegrated();
    
    public boolean isFirefoxIntegrated();
    
    // </editor-fold>
    
    // <editor-fold defaultstate="collapsed" desc=" History settings ">
    
    public boolean isEnableHistory();

    public int getHistorySizeLimitKb();

    public boolean isNotifyDownloadsInHistory();
    
    public int getStoreHistoryDays();
    
    // </editor-fold>
}
